package com.example.www;


public class Main {


    public static void main(String[] args) {
        Instrument ins1 = new Instrument();

        boolean isOpen = ins1.open("smw", "GPIB1::17::INSTR");
        System.out.println("isOpen " + isOpen);
        boolean bool = ins1.writeCmd("*IDN?");
        if (bool) {
            System.out.println(ins1.readResult());
        }
        ins1.close();
    }
}
